package com.openapi.data;
import exsun.jt808.data.base.Encryption;
import exsun.jt808.data.upload_data.Jt808EntityBase;

import java.util.Date;

public class JT808PackageData extends Jt808EntityBase {
	/**
	 * 是否有效
	 */
	private Boolean bValid;
	/**
	 * 消息体
	 */
	private byte[] bodyBuffers;
	/**
	 * channelId
	 */
	private String channelId;
	/**
	 * 版本标识
	 */
	private int versionSign;
	/**
	 * 校验码
	 */
	private int checkSum;
	/**
	 * 完整消息数据
	 */
	private byte[] buffers;

	/**
	 * 链路类型 0: 808链路 1：苏标链路
	 */
	private SessionType sessionType;

	public Boolean getbValid() {
		return bValid;
	}

	public void setbValid(Boolean bValid) {
		this.bValid = bValid;
	}

	public byte[] getBodyBuffers() {
		return bodyBuffers;
	}

	public void setBodyBuffers(byte[] bodyBuffers) {
		this.bodyBuffers = bodyBuffers;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public int getVersionSign() {
		return versionSign;
	}

	public void setVersionSign(int versionSign) {
		this.versionSign = versionSign;
	}

	public int getCheckSum() {
		return checkSum;
	}

	public void setCheckSum(int checkSum) {
		this.checkSum = checkSum;
	}

	public byte[] getBuffers() {
		return buffers;
	}

	public void setBuffers(byte[] buffers) {
		this.buffers = buffers;
	}

	public SessionType getSessionType() {
		return sessionType;
	}

	public void setSessionType(SessionType sessionType) {
		this.sessionType = sessionType;
	}
}

